/**
 * BaseCouponMapperExt
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2018-08-09  Created
 */
package com.lzy.cloud.base.mapper;

import com.lzy.cloud.base.dto.BaseCouponDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseCouponMapperExt extends BaseCouponMapper {
    /**
     * 根据条件查询
     * @param dto
     * @return
     */
    List<BaseCouponDto> queryList(@Param("param") BaseCouponDto dto);

    List<BaseCouponDto> findCarRentByIds(@Param("param") String ids);

    List<BaseCouponDto> selectNotExpiredCoupon(@Param("categorys") String categorys);

    List<BaseCouponDto> selectBindCoupon(@Param("categorys") String categorys);
}